import request from '@/utils/request'
export default {
  //分页查询评论
  queryByPage(page) {
    return request({
      url: '/comment/queryCommentByPage',
      method: 'post',
      data: page,
    })
  },
  //删除评论
  deleteMultipleComment(ids) {
    return request({
      url: '/comment/deleteMultipleComment?ids=' + ids,
      method: 'get',
    })
  },
  //恢复评论
  recoverComment(id) {
    return request({
      url: '/comment/recoverComment?id=' + id,
      method: 'get',
    })
  }
}